package com.foreknow.service;

import com.foreknow.dao.impl.userDaoImpl;
import com.foreknow.model.User;
import com.foreknow.util.DbHelper;

import javax.sql.DataSource;
import java.sql.Connection;
import java.sql.SQLException;

public  interface userService {
    /**
     * 登陆
     * @param username
     * @param password
     * @return
     */
   public User Login(String username, String password);

   public boolean Registered(User[] users);
}
